﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StockMatch.Service
{
    class StockException :Exception
    {
        public StockException(string Message)
        {
            throw new Exception(string.Format("数据错误:{0}",Message));

        }
        public StockException(Exception ex)
        {
            throw new Exception(string.Format("数据错误:{0}", Message));

        }
    }
}
